using System.IO;
using System.Security.Principal;
using System;
using System.Web;

namespace Higgs.Web.AtomPub.Models
{
    public interface IMediaRepository
    {
        IMediaItem CreateMedia(HttpContextBase context, string mimeType, Stream mediaData, string slug, IIdentity user);
        IMediaItem GetMediaLink(Guid id, IIdentity user);
        IMediaItem UpdateMedia(HttpContextBase context, Guid id, string mimeType, Stream mediaData, IIdentity user);
        void DeleteMediaLink(Guid id, HttpContextBase context, IIdentity user);
    }
}

